Skip to content

Do not use deprecated getdata - #9986

Merged
radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:getdata
Oct 3, 2026
Merged

radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:getdata

Conversation

@radarhere

@radarhere radarhere commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

A use in the test suite that I missed in #9292. This code was originally added in #1196

Before merging though, #9883 should be considered, as that PR would like to reverse this deprecation strategy.

@radarhere

Copy link
Copy Markdown
Member Author

#9883 doesn't actually undo widespread use of get_flattened_data(), so if that is to be done, then reversing this could also be part of that step.

As this is test_leak_putdata(), the focus is on putdata() regardless, so either use is valid.

@radarhere
radarhere merged commit c941a78 into python-pillow:main Oct 3, 2026
48 checks passed
@radarhere
radarhere deleted the getdata branch October 3, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant